<div class="modal fade" id="changeAvatar" tabindex="-1" role="dialog" aria-labelledby="changeAvatar"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel"><span class="glyphicon glyphicon-pencil"></span>&nbsp;<?php echo $this->translate('Change your avatar') ?></h4>
            </div>
            <div class="modal-body" id="user_avatar_background">
                <div align="center">
                    <div class="profile_orignal_avatar">
                        <img id="original_avatar" src="<?php echo $config->getImage('avatar_original', $user->alias, '.jpg'); ?>">
                    </div>
                </div>
            </div>
            <div class="modal-footer user_upload_avatar" style="margin-top: 0px;">
                <input type="file" />
                <button id="user_upload_avatar" type="button" class="btn btn-default left">
                    <span class="glyphicon glyphicon glyphicon-cloud-upload"></span> Choose from computer
                </button>
                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
                <button type="button" class="btn btn-primary" ng-click="changeAvatar()" id="user_avatar_donebt">Done</button>
            </div>
        </div>
    </div>
</div>